package com.ssh.service;

import java.util.List;

import com.ssh.entity.User;
import com.ssh.entity.vo.CategoryVo;
import com.ssh.entity.vo.CommodityVo;

public interface UserService {
	
	public User loadUserByName(String userName);
	
	/**
	 * 通过parentid查询该栏目的所有子栏目
	 * @param parentid
	 * @return
	 */
	public List<CategoryVo> findCategorysByParentid(int parentid);
	public List<CommodityVo> findCommoditysByC3id(int c3id);

}
